package com.jk.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页
 * Created by JK on 2017/1/22.
 */
@Controller
@RequestMapping("/admin")
public class IndexController {

    private static final String BASE_PATH = "/admin/";

    @RequestMapping(value = "/index")
    public String index(){
        return BASE_PATH+"index";
    }

    @RequestMapping(value = "/welcome")
    public String welcome(){
        return BASE_PATH+"welcome";
    }
}
